import urlConstants from './urlConstants';

// 字段或参数枚举
const DICT_TYPE = {
  dict: 'dict',
  param: 'param',
};

const DICT_CONSTANTS = {
  // 页面用得较多的需要取字典或参数的字段配置
  DICT_ENUM_MAP: {
    crcdOrgNo: {
      type: DICT_TYPE.dict,
      url: urlConstants.BASE_ORG_PARAM.LIST,
      optionKey: 'crcdOrgNo',
      optionValue: 'crcdOrgNo',
    },
  },
};
export default DICT_CONSTANTS;
